class CreateCulturalHeritageCareAndMaintenances < ActiveRecord::Migration
  def self.up
    create_table :cultural_heritage_care_and_maintenances do |t|
      t.text :description
      t.date :start_date, :null=>false
      t.date :end_date, :null=>false
      t.integer :cultural_institution
      t.integer :cultural_heritage
      t.integer :care_and_maintenance_type, :null=>false
      t.integer :deleted, :default => 0

      t.timestamps
    end
  end

  def self.down
    drop_table :cultural_heritage_care_and_maintenances
  end
end
